﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MIDIRemapper.FileInterfaces
{
    enum SaveOptions
    {
        RoutingOnly,
        DevicesOnly,
        Routing_Devices
    }
    
    static class SaveOptionsExtension
    {
        public static bool SaveRouting(this SaveOptions so)
        {
            return (so == SaveOptions.Routing_Devices || so == SaveOptions.RoutingOnly);
        }

        public static bool SaveDevices(this SaveOptions so)
        {
            return (so == SaveOptions.Routing_Devices || so == SaveOptions.DevicesOnly);
        }
    }
}
